﻿@model IEnumerable<Chbl.Models.Season>

@{
    ViewBag.Title = "Сезоны";
}
<div class="pad">
    <div class="box2">
        <div class="pad">
            <table>
                <tr>
                    <th>
                        Сезоны
                    </th>

                </tr>

            @foreach (var item in Model) {
                <tr>
                    <td>
                        @Html.ActionLink(@String.Format("{0} Сезон ХБЛ ({1:d}-{2:d})", item.Number, item.Begin, item.End), "../SeasonDivision/Index", new { seasonId = item.SeasonId})
                    </td>
                </tr>
            }

            </table>
        </div>
    </div>
</div>
